<?php


namespace App\Modules\Admin\Http\Requests\Seller;


use App\Modules\Admin\Entities\Seller\SellerRoleModel;
use App\Modules\Admin\Http\Requests\BaseRequest;

class SellerRoleRequest extends BaseRequest
{
    public function setInstance()
    {
        $this->instance = SellerRoleModel::getInstance();
    }
    public function rules()
    {
        return [
            'role_name' => [
                'required',

            ]
        ];
    }
    public function messages()
    {
        return [
            'role_name.required' => '请输入角色名称！',
        ];
    }

}